Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-250314 | RHEL-07-020023 | SV-250314r809217_rule | Medium |
Description |
---|
Preventing non-privileged users from executing privileged functions mitigates the risk that unauthorized individuals or processes may gain unnecessary access to information or privileges. Privileged functions include, for example, establishing accounts, performing system integrity checks, or administering cryptographic key management activities. Non-privileged users are individuals who do not possess appropriate authorizations. Circumventing intrusion detection and prevention mechanisms or malicious code protection mechanisms are examples of privileged functions that require protection from non-privileged users. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 7 Security Technical Implementation Guide | 2021-12-02 |
Check Text ( C-53748r809216_chk ) |
---|
Note: Per OPORD 16-0080, the preferred endpoint security tool is Endpoint Security for Linux (ENSL) in conjunction with SELinux. Verify the operating system elevates the SELinux context when an administrator calls the sudo command with the following command: This command must be ran as root: # grep sysadm_r /etc/sudoers /etc/sudoers.d/* %wheel ALL=(ALL) TYPE=sysadm_t ROLE=sysadm_r ALL If results are returned from more than one file location, this is a finding. If a designated sudoers administrator group or account(s) is not configured to elevate the SELinux type and role to "sysadm_t" and "sysadm_r" with the use of the sudo command, this is a finding. |
Fix Text (F-53702r792848_fix) |
---|
Configure the operating system to elevate the SELinux context when an administrator calls the sudo command. Edit a file in the /etc/sudoers.d directory with the following command: $ sudo visudo -f /etc/sudoers.d/ Use the following example to build the %wheel ALL=(ALL) TYPE=sysadm_t ROLE=sysadm_r ALL |